<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>方式4</title>
    <style>
        .container {
            /* width:400px;
            height:400px; */
            background-color:skyblue;
            /* margin:0 auto; */
            
        }
        
        img {
            width:100px;
            vertical-align:top;
        }
    </style>
</head>
<body>
    <div class="container">
        这是文字 <img src="https://ts1.cn.mm.bing.net/th/id/R-C.57384e4c2dd256a755578f00845e60af?rik=uy9%2bvT4%2b7Rur%2fA&riu=http%3a%2f%2fimg06file.tooopen.com%2fimages%2f20171224%2ftooopen_sy_231021357463.jpg&ehk=whpCWn%2byPBvtGi1%2boY1sEBq%2frEUaP6w2N5bnBQsLWdo%3d&risl=&pid=ImgRaw&r=0" alt="#">
    </div>
</body>
</html>